/// !cdk-integ integ-servicecatalogappregistry-application
import * as cdk from 'aws-cdk-lib';
import * as appreg from '../lib';

const app = new cdk.App();
const stack = new cdk.Stack(app, 'integ-servicecatalogappregistry-application');

new appreg.ApplicationAssociator(app, 'RegisterCdkApplication', {
  applications: [appreg.TargetApplication.createApplicationStack({
    applicationName: 'AppRegistryAssociatedApplication',
    stackName: 'AppRegistryApplicationAssociatorStack',
    stackId: 'AppRegistryApplicationStack',
  })],
});

new cdk.Stack(stack, 'resourcesStack');

app.synth();
